//
//  XHWithdrawalFooterView.m
//  elxc
//
//  Created by 冷山 on 16/3/29.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHWithdrawalFooterView.h"

@implementation XHWithdrawalFooterView

- (void)awakeFromNib {
    self.ui_withdrawalBtn.layer.masksToBounds = YES;
    self.ui_withdrawalBtn.layer.cornerRadius = 10;
    
    [self.ui_withdrawalBtn addTarget:self action:@selector(withdrawalAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.ui_withdrawalRulesBtn addTarget:self action:@selector(withdrawalRulesAction:) forControlEvents:UIControlEventTouchUpInside];
}

- (void)withdrawalAction:(UIButton*)btn
{
    [_delegate withdrawalAction:btn];
}

//提现规则
- (void)withdrawalRulesAction:(UIButton*)btn
{
    [_delegate withdrawalRulesAction:btn];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
